﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _15.HTMLDoc
{
    class HTML
    {
        static void Main(string[] args)
        {
            string html= @"<p>Please visit <a href=""http://academy.telerik.com""> our site</a>"+
                         "to choose a training course. Also visit <a href=\"www.devbg.org\">our forum</a>"+
                         "to discuss the courses.</p>";
            Console.WriteLine(html);
            Console.WriteLine();
            Console.WriteLine();
            string withURL = html.Replace(@"<a href=""", "[URL=");
            withURL = withURL.Replace(@"</a>", "[/URL]");
            withURL = withURL.Replace(@""">", "]");
            Console.WriteLine(withURL);

        }
    }
}
